package com.xh.car.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * car
 */
@Data
public class Car implements Serializable {
    /**
     * 主键自增
     */
    private Integer id;

    /**
     * 车牌，唯一
     */
    private String carNo;

    /**
     * 颜色
     */
    private String color;

    /**
     * 品牌
     */
    private Integer brandId;

    /**
     * 品牌关联数据
     */
    private String brandIds;

    /**
     * 汽车类型
     */
    private Integer categoryId;

    /**
     * 车牌图片
     */
    private String carNoImage;

    /**
     * 状态1可用2禁用
     */
    private Integer status;

    private static final long serialVersionUID = 1L;

    private Category category;
    private Brand brand;
    private String brandStr;
    private String[] carImages;
    private List<CarImage> carImageList;
}
